Skip to content

Claude/fix trivy security workflow 01 uisn r lh df2 m9 jk u sq ho h wx#5

Merged
hyperpolymath merged 4 commits into
mainfrom
claude/fix-trivy-security-workflow-01UisnRLhDf2M9JkUSqHoHWx
Dec 7, 2025
Merged

Claude/fix trivy security workflow 01 uisn r lh df2 m9 jk u sq ho h wx#5
hyperpolymath merged 4 commits into
mainfrom
claude/fix-trivy-security-workflow-01UisnRLhDf2M9JkUSqHoHWx

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

No description provided.

claude and others added 4 commits December 7, 2025 19:01
- Pin trivy-action to v0.33.0 instead of @master for stability
- Add exit-code: '0' to prevent failures when vulnerabilities are found
- Add limit-severities-for-sarif: true to improve SARIF file quality
- Fix SARIF upload conditions to check file exists before uploading
- Add category labels to distinguish filesystem vs container scans
- Fix container image reference to use metadata output version
The repository requires all actions to be pinned to full-length commit
SHAs instead of version tags. This commit updates all three workflow
files:

ci-cd.yml:
- Pin 20 different actions to their respective commit SHAs
- Fix Trivy configuration with exit-code: '0' and limit-severities-for-sarif
- Improve SARIF upload conditions to check file existence
- Fix container image reference to use metadata output version

codeql.yml:
- Pin actions/checkout and github/codeql-action to commit SHAs

jekyll-gh-pages.yml:
- Pin all 5 actions to their respective commit SHAs

All actions retain version comments (e.g., # v4) for documentation.
Following the principle of least privilege, add explicit permissions
blocks to all jobs that were missing them:

- quality: contents: read
- test-julia: contents: read
- test-rust: contents: read
- sonarcloud: contents: read
- integration: contents: read
- deploy: contents: read
- notify: {} (no permissions needed)

This resolves CodeQL security warnings about workflows missing
explicit permission declarations.
…Df2M9JkUSqHoHWx

Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@hyperpolymath
hyperpolymath merged commit 1a6bdb5 into main Dec 7, 2025
2 of 14 checks passed
@hyperpolymath
hyperpolymath deleted the claude/fix-trivy-security-workflow-01UisnRLhDf2M9JkUSqHoHWx branch December 7, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants